/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Views.GestionRestaurant;


import java.util.EventObject;

/**
 *
 * @author ibrahim
 */
public class AddRestaurantEvent extends EventObject {

    private String name;
    private int streetNum;
    private String city;
    private String postalCode;
    private String restaurateurName;
    
    public AddRestaurantEvent(Object source, String name, int streetNum, String city, String postalCode,String restaurateurName ){
        super(source);
        this.name=name;
        this.streetNum=streetNum;
        this.city=city;
        this.postalCode=postalCode;
        this.restaurateurName=restaurateurName;
       
        
        
        
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the streetNum
     */
    public int getStreetNum() {
        return streetNum;
    }

    /**
     * @param streetNum the streetNum to set
     */
    public void setStreetNum(int streetNum) {
        this.streetNum = streetNum;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return the postalCode
     */
    public String getPostalCode() {
        return postalCode;
    }

    /**
     * @param postalCode the postalCode to set
     */
    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    /**
     * @return the restaurateurName
     */
    public String getRestaurateurName() {
        return restaurateurName;
    }

    /**
     * @param restaurateurName the restaurateurName to set
     */
    public void setRestaurateurName(String restaurateurName) {
        this.restaurateurName = restaurateurName;
    }

    
    
    
}
